<!--
	作者：344805262@qq.com
	时间：2015-10-08
	描述：选择密码类型
-->
<!doctype html>
<html>
<head>
    <meta name="viewport" id="viewport"
          content="width=device-width, minimum-scale=1, maximum-scale=1, initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
    <meta name="format-detection" content="telephone=yes" />
    <meta name="msapplication-tap-highlight" content="no" />
    <meta charset="utf-8">
    <title>修改密码</title>
    <link href="../../css/css.css?v=185" rel="stylesheet" type="text/css">
</head>
<body>
<!----------------头部定位---------------------------->
<div class="header">
			<span id="back" class="headleft">
        <a class="back"><i class="iconfont icon-jiantou"></i></a>
			</span>
    <span class="tbbiaoti">修改密码</span>
    <span class="headright"></span>
</div>
<!----------------内容开始---------------------------->
<div class="main whitebg">
    <div class="wlxqbg">
        <div class="wlxqnrbg mbtopbottom">
            <p id="loginPassword" class="wlxqnr mbbottom"><span><b class="ybzt"></b><b class="icon-right">></b></span>登入密码
            </p>

            <p id="payPassword" class="wlxqnr mbbottom"><span><b class="ybzt"></b><b class="icon-right">></b></span>支付密码
            </p>
        </div>
    </div>
</div>
</body>
<script type="text/javascript" src="../../js/common/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="../../js/config.js"></script>
<script type="text/javascript" src="../../js/common/common.js"></script>

<script type="text/javascript" language="JavaScript">
    $(function () {

        var _user = getLocalStorage(STORAGE_MANAGER.user);
        if (!_user) {
            redirect("login.html");
            return false;
        }

        var _phone = getUrlParam("phone");

        //点击回退
        $("#back").on("tap", function () {
            back();
        });

        //修改登录密码
        $("#loginPassword").on("tap", function () {
            redirect("validatePhone.html?type=login&phone=" + _phone);
            return false;
        });

        //修改支付密码
        $("#payPassword").on("tap", function () {
            redirect("validatePhone.html?type=pay&phone=" + _phone);
            return false;
        });


    });
</script>
</html>
